#ifndef _OCPP_GridDataCompute_H__
#define _OCPP_GridDataCompute_H__

#include "GridDataAlgorithm.h"

namespace OCPP
{
	namespace Volume
	{
		struct GridDataComputePair
		{
			String fileName;
			String varName;
		};

		using GridDataComputePairVec = std::vector<GridDataComputePair>;

		class GridDataCompute
		{
		public:
			void add(GridDataComputePair pair)
			{
				computePairVec.push_back(pair);
			}

			void setAlgorithm(GridDataAlgorithm* value)
			{
				algorithm.reset(value);
			}

			GridDataComputePairVec computePairVec;
			std::shared_ptr<GridDataAlgorithm> algorithm = std::make_shared<GridDataAlgorithm>();
		};
	}
}


#endif // !_OCPP_NcOptions_H__
